﻿using Sharp.Domain.PlatformBoundedContext.PermissionModule.Aggregates;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sharp.Domain.PlatformBoundedContext.UserModule.Aggregates
{
    public partial interface IRoleRepository
    {
        /// <summary>
        /// 获取角色权限
        /// </summary>
        /// <param name="roleId"></param>
        /// <returns></returns>
        IEnumerable<Permission> GetPermissionByRoleId(int roleId);
    }
}
